The Commissioning Pushbutton

The XBee/XBee-PRO S2C DigiMesh 2.4 supports a set of commissioning and LED functions to help you deploy and commission devices. These functions include the Commissioning Pushbutton definitions and the associated LED functions. The following diagram shows how the hardware can support these features.

To support the Commissioning Pushbutton and its associated LED functions, connect a pushbutton and an LED to device pins 20 and 15 respectively.

Definitions

To enable the Commissioning Pushbutton functionality on pin 20, set the D0 command to 1. The functionality is enabled by default.

You must perform multiple button presses within two seconds.

The following table provides the pushbutton definitions.

Button presses

Action

1

Immediately sends a Node Identification broadcast transmission.

All devices that receive this transmission blink their Associate LED rapidly for one second.

All devices in API operating mode that receive this transmission send a Node Identification Indicator frame (0x95) out their UART.

1

If the device is configured for asynchronous sleep, this wakes it for 30 seconds.

Immediately sends a Node Identification broadcast transmission.

All devices that receive this transmission blink their Associate LED rapidly for one second.

All devices in API operating mode that receive this transmission send a Node Identification Indicator frame (0x95) out their UART.

4

Sends an RE command to restore device parameters to default values.

Use the Commissioning Pushbutton

Use the CB command to simulate button presses in software. Send CB with a parameter set to the number of button presses to perform. For example, if you send ATCB1, the device performs the action(s) associated with a single button press.

Node Identification Indicator - 0x95 is similar to Remote AT Command Response- 0x97 – it contains the device’s address, node identifier string (NI command), and other relevant data. All devices in API operating mode that receive the Node Identification Indicator frame send it out their UART as a Node Identification Indicator frame.